<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录界面</title>
    <style>
        *{margin: 0;padding: 0;list-style-type: none;}
        a{
            color: inherit;
            text-decoration: none;
        }
        .wrap{
            /* 设置最小宽度
                min-width 最小宽度
                max-width 最大宽度
                min-height 最小高度
                max-height 最大高度
            */
            min-width: 1200px;
            height: 520px;
            background: url(../../img/作业5/dlbg.jpg) center;
        }
        .content{
            position: relative;
            width: 1200px;
            margin: auto;
        }
        .login{
            position: absolute;
            width: 342px;
            height: 415px;
            right: 0%;
            top: 50px;
            background-color: rgb(245, 234, 233);
        }
        .login .top{
            height: 276px;
            box-sizing: border-box;
            padding: 30px 40px 25px;
            border-bottom: 1px dashed #ccc;
        }
        .login .top ul li{
            height: 40px;
            margin-bottom: 25px;
        }
        .login .top ul li input{
            width: 215px;
            height: 40px;
            border: none;
            vertical-align: 16px;
            border: 1px solid #ccc;
            font-size: 16px;
            text-indent: 1em;
        }
        .login .enroll{
            height: 35px;
            font-size: 12px;
        }
        .login .enroll .left{
            float: left;
        }
        .login .enroll .right{
            float: right;
        } 
        .login .enroll .left input{
            margin-right: 5px;
            vertical-align: -1px;
        }
        .login .enroll .right a:hover{
            color: red;
        }
        .login .enroll .right a{
            margin-right: 5px;
        }
        .login .submit{
            width: 100%;
            height: 46px;
            border: none;
            background:linear-gradient(
                to bottom,
                rgb(235,38,58),
                rgb(188,43,50)
            );
            color:white;
            letter-spacing: 5px;
            font-size: 16px;
        }
        .login > p{
            text-align: center;
            padding-top: 20px;
            font-size: 14px;
        }
    </style>
</head>
<body>
    <div class="wrap">
        <div class="content">
            <div class="login">
                <form class="top">
                    <ul>
                        <li>
                            <img src="../../img/作业5/zhanghao.jpg" alt="">
                            <input placeholder="用户名/邮箱地址/手机号" type="text">
                        </li>
                        <li>
                            <img src="../../img/作业5/mima.jpg" alt="">
                            <input placeholder="密码" type="password">
                        </li>
                    </ul>
                    <div class="enroll">
                        <div class="left">
                            <input type="checkbox" name="" id="">记住账号
                        </div>
                        <div class="right">
                            <a href="">欢迎注册</a>
                            <a href="">忘记密码？</a>
                        </div>
                    </div>
                    <input class="submit" type="submit" value="登录">
                </form>
                <p>                
                    合作网站账号登录：<a href=""><img src="../../img/作业5/qqlogin.png" alt=""></a>
                    <a href=""><img src="../../img/作业5/weixin.png" alt=""></a>
                    <a href=""><img src="../../img/作业5/taobao.png" alt=""></p></a>
            </div>
        </div>
    </div>
</body>
</html>